set1 = {1, 2, 3, 32, 1, 2, 3, 1, 2, 1, 3, 1, 2, 3, 1, 3, 31, 2}
# set2 = {11, 22, 1, 2, 3, 33, 44, 4}
# print(set2)
# print(set1)
# set1.remove(31)
# print(set1)
# # set1.remove(33)
#
# set1.discard(1)
# print(set1)
# set1.discard(33)
# print(set1)
# 默认删除，集合的第一个元素（有不确定性）
print(set1)
set1.pop()
print(set1)
set1.pop()
print(set1)
set1.pop()
print(set1)
set1.clear()
print(set1) # set() {}